home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 423_01 / recio200 / history < prev    next >
Encoding:
Text File  |  1994-04-15  |  3.9 KB  |  94 lines

  1. recio, Version 2.00, Release April 15, 1994.
  2. Copyright (C) 1994, William Pierpoint.
  3.  
  4. HISTORY OF RECIO LIBRARY
  5.  
  6. 4/15/94 - vers 2.00
  7.  
  8.   RECIO can now write as well as read.  Over 25 new functions added.
  9.  
  10.   New record streams that are always open are recout, recerr, and recprn.
  11.   New predefined context numbers are RECOUT, RECERR, and RECPRN.
  12.  
  13.   ROPEN_MAX increased from 5 to 8.
  14.  
  15.   New symbolic error constants are: 
  16.     R_EINVMOD - tried to read file opened in write mode, or vice versa.
  17.     R_ENOPUT  - unable to output data.
  18.  
  19.   New callback warning function and associated warning functions.
  20.   Now all empty data strings are trapped as warnings.  Application can
  21.   choose to handle them or to ignore them.  Failure of atexit function 
  22.   is changed from an error to a warning.
  23.  
  24.   New symbolic warning constants:
  25.     R_WEMPSTR - data string is empty.
  26.     R_WWIDTH  - data too wide for columnar output.
  27.     R_WNOREG  - unable to register exit function with atexit().
  28.                 (changed from error symbolic constant R_ENOREG).
  29.  
  30.  
  31. 4/8/94 - vers 1.20
  32.  
  33.   Created new rerrstr and rstrerror functions.  Simplified TESTCH.C and 
  34.   TESTCO.C code by using rerrstr.
  35.  
  36.   Changed the specification and code for the rgets and rcgets functions to 
  37.   return a pointer to an empty string (rather than a null pointer) on error.  
  38.   This will help reduce null pointer errors in application programs. 
  39.  
  40.   Changed the specification and code for the rgetrec function.  The rgetrec 
  41.   function now clears the record buffer before the next record is read.  
  42.   This will cause the error number to be set to R_EMISDAT if the application 
  43.   ignores the eof indicator and attempts to read fields in records beyond 
  44.   end-of-file.  There is one exception: if the field just prior to the record 
  45.   buffer string terminator is a string field (which for an empty record buffer 
  46.   is the first field), it won't be trapped as missing data.  This is an 
  47.   unavoidable consequence of allowing empty string fields.  But you shouldn't 
  48.   be ignoring end-of-file anyway!  Also rgetrec continues to increment the 
  49.   record number if the program reads beyond end of file.  This solves an 
  50.   "off by one" bug when the file ends prematurely.
  51.  
  52.   Developed the dif program to locate line where two text files first 
  53.   differ.  Inserted dif source into TUTOR.TXT to illustrate a very simple
  54.   callback error function.  Substituted the dif program for the cmp program 
  55.   in regression test TEST.BAT.
  56.  
  57.  
  58. 4/5/94 - vers 1.11
  59.  
  60.   When is the minimum not the minimum?  MIN values in <float.h> are defined 
  61.   differently than in <limits.h>.  Fixed code to match definitions in 
  62.   ANSI X3.159-1989 Section 2.2.4.2.
  63.   
  64.   RECIO now tests for underflow and overflow of all floating point numbers 
  65.   input.  Test results TESTCH.OUT shows when overflow and underflow occur.
  66.   
  67.   Created new rfix functions to provide a quick way to fix overflows and 
  68.   underflows, and to get callback error functions up and running more 
  69.   quickly.
  70.  
  71.  
  72. 3/28/94 - vers 1.10
  73.  
  74.   Created single precision floating point functions rgetf() and rcgetf().
  75.  
  76.   Created functions rsetbegcolno() and rbegcolno() to make it easy to 
  77.   have column numbering start at either 0 or 1.  Default is 0.
  78.  
  79.   Created program TESTCO to test column delimited fields; enhanced test 
  80.   program TESTCH for character delimited fields.
  81.   
  82.   Created new symbolic error constants for record streams.  Program must 
  83.   use symbolic constants starting with R_ (such as R_EINVDAT) for valid 
  84.   record streams; use errno constants (such as ENOMEM) for invalid record 
  85.   streams.  New error checking provides better reporting and portability.
  86.   New symbolic error constants are not compatible with version 1.00; 
  87.   some rework of version 1.00 callback error functions required.
  88.  
  89.   Fixed some bugs in the column delimited functions.
  90.  
  91. 3/23/94 - vers 1.00
  92.  
  93.   Initial public release.
  94.